package com.itcast.java.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 属性分组实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:31:58
 */
@Data
@TableName("pms_attr_group")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PmsAttrGroupEntity对象", description = "属性分组")
public class PmsAttrGroupEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "分组id")
                @TableId(value = "attr_group_id", type = IdType.AUTO)
                private Long attrGroupId;

        @ApiModelProperty(value = "组名")
    @TableField("attr_group_name")
        private String attrGroupName;

        @ApiModelProperty(value = "排序")
    @TableField("sort")
        private Integer sort;

        @ApiModelProperty(value = "描述")
    @TableField("descript")
        private String descript;

        @ApiModelProperty(value = "组图标")
    @TableField("icon")
        private String icon;

        @ApiModelProperty(value = "所属分类id")
    @TableField("catelog_id")
        private Long catelogId;

        }